<h2 class="title2">Confirm delete</h2>
<div class="transactionUser">
	<h3><?php echo $this->User->getUsername($profile);?> - <?php echo $profile['Profile']['headline']; ?></h3>
	<?php if(is_file(Configure::read('User.upload_dir_prefix').$profile['Profile']['icon_image'])): ?>
	<?php echo $this->Html->image(Configure::read('User.upload_path_prefix').$profile['Profile']['icon_image'], array('alt' => '','width' => 120, 'height' => 120));?>
	<?php else: ?>
	<?php echo $this->Html->image(Configure::read('User.default_icon_image'), array('alt' => '','width' => 120, 'height' => 120));?>
	<?php endif;?>
	<div class="halfBox">
		<p>参加予定のクラス数 <span class="num"><?php echo $enteredNumber ; ?></span></p>
		<p>参加予定のクラス数 <span class="num"><?php echo $attendNumber ; ?></span></p>
		<p>クラスを開催 <span class="num"><?php echo $totalOpenClass ; ?></span></p>
		<p>成功した決済  <span class="num"><?php echo $successTransNumber ; ?></span></p>
		<p>失敗した決済 <span class="num"><?php echo $faultTransNumber ; ?></span></p>
	</div>
</div>
<div style="text-align: center">
	<h2>本当にこのユーザを削除しますか？</h2>
	<?php echo $this->Form->create('User', array('url' => array('controller' => 'members', 'action' => 'delete', $userId), 'type' => 'post')); ?>
		<?php echo $this->Form->input('userId', array('type' => 'hidden', 'value' => $userId)); ?>
		<?php echo $this->Form->submit('削除', array('div' => false)); ?>
		<?php echo $this->Form->button('キャンセル', array('div' => false, 'class' => 'jsBtnBack')); ?>
	<?php echo $this->Form->end(); ?>
	<p class="error-message"><?php echo $errorMessage; ?></p>
</div>